package com.tom.service;

import com.tom.common.OrderComment;
import com.tom.pojo.Comment;
import com.tom.pojo.Restaurant;

import java.util.List;

public interface IRestService {

    int register (Restaurant restaurant);

    int setStatus (Integer id, Byte status);

    Restaurant getMyRest(Integer userId);

    List<Restaurant> listOpen();

    Restaurant getRestInfo(Integer id);

    int updateRest (Restaurant restaurant);

    List<OrderComment> getRestComments(Integer rid);
}
